﻿#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


SetCapsLockState , AlwaysOff
CapsLock & h::SendInput {Left}
CapsLock & j::SendInput {Down}
CapsLock & k::SendInput {Up}
CapsLock & l::SendInput {Right}
CapsLock & a::SendInput {Home}
CapsLock & e::SendInput {End}
CapsLock & d::SendInput {Delete}
Shift & CapsLock::SendInput, {Shift Down}{Blind}{Esc}{Shift Up}
CapsLock::SendInput {Esc}
Esc::CapsLock